package response.base

import com.fasterxml.jackson.annotation.JsonAlias

/**
 * 统一响应格式
 * @author BX-Gin
 * @since 2024/6/6 上午11:58
 */
class Res<T> {
    @set:JsonAlias("Code")
    var code: Int? = null

    @set:JsonAlias("Message")
    var message: String? = null
    var data: T? = null
}